﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200114D RID: 4429
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetForbidOtherApplyFriendCsReq : IMessage<SetForbidOtherApplyFriendCsReq>, IMessage, IEquatable<SetForbidOtherApplyFriendCsReq>, IDeepCloneable<SetForbidOtherApplyFriendCsReq>, IBufferMessage
	{
		// Token: 0x1700380F RID: 14351
		// (get) Token: 0x0600C632 RID: 50738 RVA: 0x00217104 File Offset: 0x00215304
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetForbidOtherApplyFriendCsReq> Parser
		{
			get
			{
				return SetForbidOtherApplyFriendCsReq._parser;
			}
		}

		// Token: 0x17003810 RID: 14352
		// (get) Token: 0x0600C633 RID: 50739 RVA: 0x0021710B File Offset: 0x0021530B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetForbidOtherApplyFriendCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003811 RID: 14353
		// (get) Token: 0x0600C634 RID: 50740 RVA: 0x0021711D File Offset: 0x0021531D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetForbidOtherApplyFriendCsReq.Descriptor;
			}
		}

		// Token: 0x0600C635 RID: 50741 RVA: 0x00217124 File Offset: 0x00215324
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetForbidOtherApplyFriendCsReq()
		{
		}

		// Token: 0x0600C636 RID: 50742 RVA: 0x0021712C File Offset: 0x0021532C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetForbidOtherApplyFriendCsReq(SetForbidOtherApplyFriendCsReq other) : this()
		{
			this.aHGJGKMOKAP_ = other.aHGJGKMOKAP_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C637 RID: 50743 RVA: 0x00217151 File Offset: 0x00215351
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetForbidOtherApplyFriendCsReq Clone()
		{
			return new SetForbidOtherApplyFriendCsReq(this);
		}

		// Token: 0x17003812 RID: 14354
		// (get) Token: 0x0600C638 RID: 50744 RVA: 0x00217159 File Offset: 0x00215359
		// (set) Token: 0x0600C639 RID: 50745 RVA: 0x00217161 File Offset: 0x00215361
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool AHGJGKMOKAP
		{
			get
			{
				return this.aHGJGKMOKAP_;
			}
			set
			{
				this.aHGJGKMOKAP_ = value;
			}
		}

		// Token: 0x0600C63A RID: 50746 RVA: 0x0021716A File Offset: 0x0021536A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetForbidOtherApplyFriendCsReq);
		}

		// Token: 0x0600C63B RID: 50747 RVA: 0x00217178 File Offset: 0x00215378
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetForbidOtherApplyFriendCsReq other)
		{
			return other != null && (other == this || (this.AHGJGKMOKAP == other.AHGJGKMOKAP && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C63C RID: 50748 RVA: 0x002171A8 File Offset: 0x002153A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AHGJGKMOKAP)
			{
				num ^= this.AHGJGKMOKAP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C63D RID: 50749 RVA: 0x002171E7 File Offset: 0x002153E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C63E RID: 50750 RVA: 0x002171EF File Offset: 0x002153EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C63F RID: 50751 RVA: 0x002171F8 File Offset: 0x002153F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AHGJGKMOKAP)
			{
				output.WriteRawTag(8);
				output.WriteBool(this.AHGJGKMOKAP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C640 RID: 50752 RVA: 0x0021722C File Offset: 0x0021542C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AHGJGKMOKAP)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C641 RID: 50753 RVA: 0x0021725E File Offset: 0x0021545E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetForbidOtherApplyFriendCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AHGJGKMOKAP)
			{
				this.AHGJGKMOKAP = other.AHGJGKMOKAP;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C642 RID: 50754 RVA: 0x0021728F File Offset: 0x0021548F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C643 RID: 50755 RVA: 0x00217298 File Offset: 0x00215498
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.AHGJGKMOKAP = input.ReadBool();
				}
			}
		}

		// Token: 0x04004FC3 RID: 20419
		private static readonly MessageParser<SetForbidOtherApplyFriendCsReq> _parser = new MessageParser<SetForbidOtherApplyFriendCsReq>(() => new SetForbidOtherApplyFriendCsReq());

		// Token: 0x04004FC4 RID: 20420
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004FC5 RID: 20421
		public const int AHGJGKMOKAPFieldNumber = 1;

		// Token: 0x04004FC6 RID: 20422
		private bool aHGJGKMOKAP_;
	}
}
